# classes
class Math:
    def __init__(self, a=0, b=0):
        self.a = a
        self.b = b
    def sum(self):
        return self.a + self.b
    def sub(self):
        return self.a - self.b

class ChildMath(Math):
    pass
    def sum(self):
        return (self.a + self.b) * 10
    def sub(self):
        return (self.a - self.b) * 10
    
math = Math(10,5)
sumResult = math.sum()
subResult = math.sub()

print "The sum is: " + str(sumResult)
print "The sub is: " + str(subResult)

childMath = ChildMath(10,5)
sumResult2 = childMath.sum()
subResult2 = childMath.sub()

print "The sum is: " + str(sumResult2)
print "The sub is: " + str(subResult2)

print "Nao consigui decifrar esse codigo, tenho que ler sobre classes"